﻿@model JLPT.Models.Objects.QuestionSub 
@using JLPT.Models.Objects
           
@Html.HiddenFor(x => x.Id)

<div >
   @Model.Name
</div>

    @foreach (QuestionDetail item in Model.QuestionDetails)
    {
        <div style="margin-left:20px;">
            @Html.RadioButtonFor(b => b.Name, item.Id)  @item.Answer
           
            @*@if (item.IsRight && ViewBag.Result!=null)
	        {
		        <img alt="Right answer" src="@Url.Content("~/Content/Images/right.png")" />
            }*@
            
            @*@if (!item.IsRight && Model.SelectedAnswer==null && ViewBag.Result!=null)
	        {
		        <img alt="Right answer" src="@Url.Content("~/Content/Images/wrong.png")" />
            }*@
            
        </div>
    }

